On 2/8/02 at 17:36, oleg@sai.msu.su (Oleg Bartunov) wrote:
> On Fri, 2 Aug 2002, Phil Dobbin wrote:
>
> > On 29/7/02 at 14:48, dba@paragraf.ch (Francois Suter) wrote:
> > > I succesfully used the module called Pg:
> >
> > I d/l'd DBD::Pg using CPAN but the Makefile.PL complained that the
> env vars `POSTGRES_INCLUDE' and `POSTGRES_LIB' couldn't be found so
> that `libq.so' couldn't be located.
> >
> > Are `POSTGRES_INCLUDE' and `POSTGRES_LIB' set in your $PATH?
> >
> > Any ideas appreciated :-)
>
> Define these variables :-)
>
> in bash:
> export POSTGRES_INCLUDE=/usr/local/pgsql/include
> export POSTGRES_LIB=/usr/local/pgsql/lib
Thanks for that. It worked fine. I had followed the instructions in the pgsql O'Reilly book (pp.25) and they didn't
lookright. That looked a lot better :-)
Regards,
Phil.